package com.halden.mycache.support.listener;

import lombok.Builder;
import lombok.Data;

/**
 * @Author: halden
 * @Data:2023/2/9 10:35
 * @Description: 用于删除日志的上下文
 */
@Data
public class CacheRemoveContext<K,V> {
    K key;
    V value;
    RemoveType type;

    public CacheRemoveContext (K key, V value, RemoveType type){
        this.key = key;
        this.value = value;
        this.type = type;
    }
}
